package com.traffic.fuwu.service;

import java.util.List;
import java.util.Map;

import com.traffic.fuwu.mybatis.pojo.WhiteList;

public interface WhiteListService {

	/**
	 * 多条件分页查询
	 * 
	 * @param conditions(userId,userName,status,pageIndex,startRow)
	 * @return
	 */
	List<WhiteList> getFindWhiteList(Map<String, Object> conditions);

	/**
	 * 多条件分页查询数量
	 * 
	 * @param conditions
	 *            (userId,userName)
	 * @return
	 */
	int getFindWhiteListCount(Map<String, Object> conditions);
	
	/**
	 * 根据Id查询对象
	 */
	WhiteList getById(int wlId);
	/**
	 * 增加
	 */
	void addWhiteList(WhiteList whiteList);
	/**
	 * 修改
	 */
	void updateWhiteList(WhiteList whiteList);
}
